'''
Created on 2024年7月18日

@author: Administrator
'''

first_name = "ada"
last_name = "lovelace"
full_name = f"{first_name} {last_name}"
print(full_name)
print(f"Hello,{full_name.title()}")
message = f"Hello,{full_name.title()}"
print(message)

print("Languages:\n\tPython\n\tC\n\tJavaScript")

favorite_language = " python "
print(favorite_language)
print(favorite_language.rstrip())

favorite_language = favorite_language.rstrip()
print(favorite_language)

favorite_language = " C++ "
print(favorite_language)
print(favorite_language.lstrip())
print(favorite_language.rstrip())
print(favorite_language.strip())

nostarch_url = "https://nostarch.com"
nostarch_url = nostarch_url.replace("https://","")
print(nostarch_url)

print(nostarch_url[3:])

